/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-1-10 上午11:57 Created by lyyang
 */
package com.jade.bss.business.groupon;

import java.util.List;

import com.jade.framework.base.criterion.Criteria;
import com.jade.framework.base.util.PagingList;

/**
 * 团购券dao
 *
 * @author <a href="mailto:lyyang@ceno.cn">lyyang</a>
 * @version 1.0 15-1-10 上午11:57
 */
public interface GrouponDao
{
    void add(Groupon groupon);

    void update(Groupon setting);

    void remove(Groupon groupon);


    Groupon get(long id);

    List<Groupon> list(Criteria criteria);

    PagingList<Groupon> query(Criteria criteria);
}
